package cn.kgc.ssm.service;

import cn.kgc.ssm.dao.DistrictMapper;
import cn.kgc.ssm.pojo.District;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 许京东
 * @Description
 * @date 2021/5/25 12:54
 */
@Service
public class DistrictServiceImpl implements DistrictService {
    @Autowired
    DistrictMapper districtMapper;
    @Override
    public List<District> getAllDistrict() {
        return districtMapper.getAllDistrict();
    }
}
